package com.glory.brepda.activity.mfg;

import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.glory.brepda.R;
import com.glory.brepda.base.BaseActivity;
import com.glory.brepda.entity.BomInfoEntity;
import com.glory.brepda.entity.EqpStatusEntity;

import butterknife.BindView;

public class GroupEqpInfoCheckActivity extends BaseActivity {
    @BindView(R.id.tvEqpId)
    TextView tvEqpId;
    @BindView(R.id.tvStatu)
    TextView tvStatu;
    @BindView(R.id.llMain)
    LinearLayout llMain;
    @BindView(R.id.tvHoldStatu)
    TextView tvHoldStatu;
    @BindView(R.id.tvWorkLots)
    TextView tvWorkLots;


    private EqpStatusEntity.ResultBean result;


    @Override
    protected int getLayoutResId() {
        return R.layout.activity_group_eqp_info_check;
    }



    @Override
    protected void initView() {
        Bundle bundle = getIntent().getExtras();
        result = (EqpStatusEntity.ResultBean)bundle.getSerializable("GROUPEQP");
        setMainLayout(llMain);

        tvEqpId.setText(result.getEPQID());
        tvStatu.setText(result.getSTATU());
        tvHoldStatu.setText(result.getHOLDSTATU());
        tvWorkLots.setText(result.getWORKLOTS());
    }

    @Override
    protected void initData() {

    }




}
